package com.tg.data.http.entity;

import android.os.Parcel;
import android.os.Parcelable;

public class TimeZoneBean implements Parcelable {


    /**
     * time : GMT+12:00,a/sh
     * zone : GMT+12:00,新西兰/惠灵顿
     * selected : 0
     */

    private String time;
    private String zone;
    private int selected;

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getZone() {
        return zone;
    }

    public void setZone(String zone) {
        this.zone = zone;
    }

    public int getSelected() {
        return selected;
    }

    public void setSelected(int selected) {
        this.selected = selected;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.time);
        dest.writeString(this.zone);
        dest.writeInt(this.selected);
    }

    public TimeZoneBean() {
    }

    protected TimeZoneBean(Parcel in) {
        this.time = in.readString();
        this.zone = in.readString();
        this.selected = in.readInt();
    }

    public static final Parcelable.Creator<TimeZoneBean> CREATOR = new Parcelable.Creator<TimeZoneBean>() {
        @Override
        public TimeZoneBean createFromParcel(Parcel source) {
            return new TimeZoneBean(source);
        }

        @Override
        public TimeZoneBean[] newArray(int size) {
            return new TimeZoneBean[size];
        }
    };
}
